package com.study.xml.model;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@XStreamAlias("ns0:header")
public class Header implements Serializable {
    private static final long serialVersionUID = 1L;
    @XStreamAlias("ns0:status")
    private String status;
    @XStreamAlias("ns0:order-date")
    private String orderDate;
    @XStreamAlias("ns0:language-code")
    private String languageCode;
    @XStreamAlias("ns0:country-code")
    private String countryCode;
    @XStreamAlias("ns0:document-type")
    private String documentType;
    @XStreamAlias("ns0:genesis-entity-id")
    private String genesisEntityId;
    @XStreamAlias("ns0:seller-company-id")
    private String sellerCompanyId;
    @XStreamAlias("ns0:is-guest-order")
    private String isGuestOrder;
    @XStreamAlias("ns0:vehicle-context")
    private VehicleContext vehicleContext;
    @XStreamAlias("ns0:customer")
    private Customer customer;
    @XStreamAlias("ns0:custom-fields")
    private List<CustomField> customFields;
}
